package com.zb.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2024/1/29 0029
 **/
@Data
@ApiModel("服务商人员技能对象")
public class NetworkEmpSkillVo {
    @ApiModelProperty(value = "服务商人员技能ID，新增不必传，修改必传")
    private Long id;

    @NotBlank(message = "技能名称不能为空")
    @Length(max = 10, message = "技能名称长度限制 20 个字符以内")
    @ApiModelProperty(value = "技能名称", required = true)
    private String name;

    @NotNull(message = "技能状态不能为空")
    @ApiModelProperty(value = "技能状态：false-启用，true-禁用", required = true, example = "false")
    private Boolean status;
}
